﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sample.Messages {
    public class PictureMessage {
        // Will store this value as a property of the ActiveMQ message
        public String FileName { get; set; }
        // will transport this property as the binary payload of the message.
        // This relies on convention over configuration and this exact property definition
        // will enable the binary mode.
        public Byte[] Bytes { get; set; }
        // will provide the value for the "BinaryStream" property injected into the ActiveMQ message, that will allow you to know what kind of binary data you're transporting.
        public String BinaryStream { get; set; }
        // will create an array from a list stored in the message property of the same name.
        public String[] Comments { get; set; }
    }
}
